{extend name='public/layout'/}
<!-- 本页面要使用的css开始 -->
{block name='css'}
<link rel="stylesheet" href="__STATIC__/api/css/swiper-4.3.5.min.css?v={:time()}" />
<link rel="stylesheet" type="text/css" href="__STATIC__/api/css/user.css?v={:time()}" />
{/block}
<!-- 本页面要使用的css结束 -->
<!-- 本页面要使用的js开始 -->
{block name='js'}
<script src="__STATIC__/api/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__STATIC__/api/js/user.js" type="text/javascript" charset="utf-8"></script>
{/block}
<!-- 本页面要使用的js结束 -->
<!-- 页面主体开始 -->
{block name='app'}
<div class="user-head">
	<div class="wrap clearfix">
		<img :src="userInfo.avatar" alt="" class="fl head-img">
		<div class="fl head-name">
			<p class="name">{{userInfo.nickname}}</p>
			<p class="hoor" v-if="userInfo.is_merchant == true">金牌商家</p>
		</div>
	</div>
</div>
<div class="user-list">
	<div class="wrap">
		<ul>
			<li class="clearfix" v-if="userInfo.is_admin == true">
				<img src="__STATIC__/api/images/waitSend.png" alt="" class="fl">
				<a href="cashcard-send.html" class="fl clearfix">
					<p class="fl">待发放代金券</p>
					<i class="fr"></i>
				</a>
			</li>
			<li class="clearfix">
				<img src="__STATIC__/api/images/my.png" alt="" class="fl">
				<a href="cashcard" class="fl clearfix">
					<p class="fl">我的代金券</p>
					<i class="fr"></i>
				</a>
			</li>
			<li class="clearfix" v-if="userInfo.is_merchant == true">
				<img src="__STATIC__/api/images/earning.png" alt="" class="fl">
				<a href="store-my.html" class="fl clearfix">
					<p class="fl">收入明细</p>
					<i class="fr"></i>
				</a>
			</li>
			<li class="clearfix" v-if="userInfo.is_merchant == true">
				<img src="__STATIC__/api/images/store.png" alt="" class="fl">
				<a href="store-my.html?type=1" class="fl clearfix">
					<p class="fl">商户信息</p>
					<i class="fr"></i>
				</a>
			</li>
			<li class="clearfix">
				<img src="__STATIC__/api/images/service.png" alt="" class="fl">
				<a :href="'tel:'+userInfo.service_phone" class="fl clearfix">
					<p class="fl">客服电话</p>
					<i class="fr"></i>
				</a>
			</li>
			<li class="clearfix">
				<img src="__STATIC__/api/images/about.png" alt="" class="fl">
				<a href="about.html" class="fl clearfix">
					<p class="fl">关于惠e购</p>
					<i class="fr"></i>
				</a>
			</li>
		</ul>
	</div>
</div>
{include file='public/copyright' /}
{include file='public/foot' /}
{/block}
<!-- 页面主体结束 -->